//这个是PaintWindow要调用的as文件，窗口在每个阶段会执行相应的函数
void OnInit()
{
paintWindow.PrintTest("on init \r\n");
}
void OnPaint()
{
	//paintWindow.PrintTest("on paint_func\r\n");
}
void OnMouseUp()
{
paintWindow.PrintTest("on OnMouseUp\r\n");
}
void OnMouseDown()
{
paintWindow.PrintTest("on OnMouseDown\r\n");
}
void OnSizeChange()
{
paintWindow.PrintTest("on OnSizeChange\r\n");
}

void main()
{
paintWindow.PrintTest("this is paint on window");
}